import * as Sentry from '@sentry/browser';
import { Vue as VueIntegration } from '@sentry/integrations';
import { Integrations } from '@sentry/tracing';
function sentryMonitor(Vue) {
  Sentry.init({
    dsn: 'http://f7fe3e0c201d4cac989e0975b0f0cf36@127.0.0.1:9000/2',
    integrations: [
      new VueIntegration({
        Vue,
        tracing: true,
        logErrors: true,
      }),
      new Integrations.BrowserTracing(),
    ],
    tracesSampleRate: 1,
    release: 'pro@1.0.1',
  });
}

export default sentryMonitor;
